﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using EventRegistration;


public partial class Report_HomeForm : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            if (!CurrentData.RegistrationInfo.Completed) //If user not login, redirect to login page
            {
                Response.Redirect("../Register/Login.aspx");
            }

        }

        protected void revenueButton_Click(object sender, EventArgs e)
        {
            Response.Redirect("RevenueStatistic_Report.aspx");
        }
        protected void productButton_Click(object sender, EventArgs e)
        {
            Response.Redirect("productQuantity_Report.aspx");
        }
        protected void supplierButton_Click(object sender, EventArgs e)
        {
            Response.Redirect("supplierStatistic_Report.aspx");
        }
}

